Ext.ns('cn.hls.web.action.biz.gps');
var gpsWarnHandlerForm=cn.hls.web.action.biz.gps.gpsWarnHandleForm;
gpsWarnHandlerForm=function(){
	return { 
	      init : function() {
	    	this.initRender();
	      },
	 initRender: function(){
		 var handleTime=Ext.get('hid_handleTime').dom.value;
		 new Ext.ux.form.DateTimeField ({
				id : 'dtHandleTime',
				width : 170,
				editable : false,
				dateFormat: 'Y-m-d',
			    timeFormat: 'H:i:s',
			    xtype: 'datetimefield', 
				name : 'handleTime',
				renderTo : 'sp_handleTime',
				allowBlank : false,
				value:Ext.isEmpty(handleTime)?new Date():handleTime.substr(0,19)
			});
	 }
	 }
}();
Ext.onReady(gpsWarnHandlerForm.init, gpsWarnHandlerForm);